//
//  ProduntImageCell.h
//  LazyCat
//
//  Created by Abner on 16/4/28.
//  Copyright © 2016年 zhanshu. All rights reserved.
//

#import <UIKit/UIKit.h>
@class AddProduct;
@class ProduntImageCell;

@interface ProduntImageCell : UITableViewCell

@property(nonatomic,strong)UIImageView *proimg1;
@property(nonatomic,strong)UIImageView *proimg2;
@property(nonatomic,strong)UIImageView *proimg3;

@property(nonatomic,strong)UIButton *proimgbt1;
@property(nonatomic,strong)UIButton *proimgbt2;
@property(nonatomic,strong)UIButton *proimgbt3;

@property(nonatomic,strong)UIButton *deletebt1;
@property(nonatomic,strong)UIButton *deletebt2;
@property(nonatomic,strong)UIButton *deletebt3;

@property(nonatomic,strong)UIImageView *mainImgView;

//添加主图事件(根据tag值或者photos数量判断具体点击谁)
@property(nonatomic,copy)void(^proimgbtClickedBlock)(ProduntImageCell *aProImageCell);
//删除按钮点击block
@property(nonatomic,copy)void(^deletebtClickedBlock)(ProduntImageCell *aProImageCell,NSInteger btTag);

-(void)setupProduntImageCell:(NSArray *)imgArr aLCProduct:(AddProduct *)aLCProduct;

+(instancetype)cellWithTableView:(UITableView *)tableView;

@end
